package com.richinfo.buddy.provider.account.dubbo.provider.impl;

import com.richinfo.buddy.api.account.model.entity.User;
import com.alibaba.dubbo.config.annotation.Service;
import com.richinfo.buddy.api.account.dubbo.provider.UserProvider;
import com.richinfo.buddy.provider.account.service.UserService;
import com.richinfo.buddy.common.service.BaseServices;
import com.richinfo.buddy.common.provider.BaseProviderImpl;

import javax.annotation.Resource;

@Service
public class UserProviderImpl extends BaseProviderImpl<User, String> implements UserProvider {

    @Resource
    private UserService userService;

    @Override
    public BaseServices<User, String> getBaseServices() {
        return userService;
    }

}